package pub.gll.onepeas.libbase.track.holder

import pub.gll.onepeas.libbase.track.model.ExposureInner

/**
 * <pre>
 *     author : whg
 *     e-mail : guanhuawei@kkworld.com
 *     time   : 2021/06/24
 *     desc   : 根据不同时机进行数据验证
 *     version: 1.0
 * </pre>
 */
interface ExposureHolder {

    /**
     * 曝光windowchange事件产生的时机，前后台切换或者页面切换等时机，直接曝光当前所有view
     * @param exposureInner ExposureInner
     */
    fun exposureWindowChange(exposureInner: ExposureInner)

    /**
     * 曝光viewchange事件产生的时机,view的状态变化，根据时机，曝光有差异的view
     * @param exposureInner ExposureInner
     */
    fun exposureViewChange(exposureInner: ExposureInner)

}